﻿namespace Ops.Host.Core.Entity;

/// <summary>
/// 打标数据
/// </summary>
[SugarTable("pt_marking", "零件打标信息")]
public sealed class PtMarking : EntityBaseId
{
    /// <summary>
    /// 打标条码
    /// </summary>
    [DisplayName("SN")]
    [Required, NotNull]
    public string? SN { get; set; }

    /// <summary>
    /// 产品类型
    /// </summary>
    public string? ProductType { get; set; }

    /// <summary>
    /// 打标机编号
    /// </summary>
    public string? MarkerNo { get; set; }

    /// <summary>
    /// 打标时间
    /// </summary>
    [DisplayName("打标时间")]
    public DateTime MarkingTime { get; set; }

    public DateTime CreateTime { get; set; }
}
